package cn.tedu.boot09_2.entity;

import lombok.Data;

@Data
public class Emp {
    private Integer id;
    private String name;
    private Integer salary;
    private String job;
    private Integer managerId;

    public Emp() {
    }

    public Emp(Integer id, String name, Integer salary, String job, Integer managerId) {
        this.id = id;
        this.name = name;
        this.salary = salary;
        this.job = job;
        this.managerId = managerId;
    }
}
